ááááááááááCurrencyDecimal
ááááááááááProperty
ááááááááááMemberáof áRSConvert.DBF

áDescriptioná
Decimal places for Currency field type
áSyntaxá
vCurrencyDecimal = DBF.CurrencyDecimal
DBF.CurrencyDecimal = vCurrencyDecimal
áReturnsá
Byte
áExamplesá
Export from ADO sampleá
<SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT>
  'Sets the content type
  Response.ContentType = "application/DBF"
  
  'Create RecordSet and DBF objects
  Set ADORS = CreateObject("ADODB.Recordset")
  Set DBF = CreateObject("RSConvert.DBF")
  
  'Sets parameters For Integer And Currency fields
  DBF.IntegerWidth = 6
  DBF.CurrencyDecimal = 2
  DBF.CurrencyWidth = 6
  
  'Open table
  ADORS.Open "Payments", "DSN=ADOSamples"
  
  'Write DBF file to the client
  Response.BinaryWrite DBF.GetFile(ADORS)
  
  'Close recordset
  ADORS.Close
</SCRIPT>
áMethods of DBFá
GetFile, SaveRS
áProperties of DBFá
Compress, CurrencyDecimal, CurrencyWidth, DoubleDecimal, DoubleWidth, IntegerWidth, LongVarCharWidth, RowCount, SingleDecimal, SingleWidth, TempDirectory

⌐ 1996 û 1998 PSTRUH Software, help@pstruh.cz